﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Classes {
    import flash.utils.*;

    public class Friend {

        public var m_gold:int = 0;
        public var m_xp:int = 0;
        public var m_level:int = 0;
        public var m_avatar:Object;
        public var m_cityName:String = "";
        public var m_profilePic:String = "";
        public var m_name:String = "";
        public var m_uid:String = "";
        public var m_fake:Boolean;
        public var m_empty:Boolean;
        public var m_socialLevel:int;
        public var m_firstTimeVisit:Boolean;
        public var m_online:Boolean;
        public var m_rollCall:Boolean;
        public var m_collect:Boolean;
        private var m_commodities:Dictionary;
        public var playerClassType:int = -1;

        public function Friend(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean, _arg6:Object, _arg7:String, _arg8:String, _arg9:String, _arg10:Dictionary, _arg11:int, _arg12:Boolean=false, _arg13:Boolean=false, _arg14:Boolean=false, _arg15:Boolean=false):void{
            this.m_socialLevel = _arg11;
            this.m_gold = _arg2;
            this.m_xp = _arg3;
            this.m_level = _arg4;
            this.m_firstTimeVisit = _arg5;
            this.m_avatar = _arg6;
            this.m_cityName = _arg7;
            this.m_profilePic = _arg8;
            this.m_name = _arg9;
            this.m_uid = _arg1;
            this.m_fake = _arg12;
            this.m_empty = _arg13;
            this.m_commodities = _arg10;
            this.m_rollCall = _arg14;
            this.m_collect = _arg15;
            if (_arg1 == Player.FAKE_USER_ID.toString()){
                this.m_fake = true;
            };
            this.m_online = false;
        }
        public function get socialLevel():int{
            return (this.m_socialLevel);
        }
        public function get uid():String{
            return (this.m_uid);
        }
        public function get xp():int{
            return (this.m_xp);
        }
        public function get level():int{
            return (this.m_level);
        }
        public function get avatar():Object{
            return (this.m_avatar);
        }
        public function get cityname():String{
            return (this.m_cityName);
        }
        public function get fake():Boolean{
            return (this.m_fake);
        }
        public function get empty():Boolean{
            return (this.m_empty);
        }
        public function get commodities():Dictionary{
            return (this.m_commodities);
        }
        public function get rollCall():Boolean{
            return (this.m_rollCall);
        }
        public function get collect():Boolean{
            return (this.m_collect);
        }
        public function cleanUp():void{
            this.m_commodities = null;
        }

    }
}//package Classes 
